package com.zlc.common.core.process.service;

import com.zlc.common.common.service.BaseService;
import com.zlc.common.core.process.model.entity.StoneProcessVariableConfig;
import com.zlc.common.core.process.model.vo.StoneProcessVariableConfigVo;
import com.zlc.common.core.process.mapper.StoneProcessVariableConfigMapper;

import java.util.List;
import java.util.Map;

/**
 * @author  zl
 * @date 2023-10-17 
 */
public interface StoneProcessVariableConfigService extends BaseService<StoneProcessVariableConfigMapper, StoneProcessVariableConfig, StoneProcessVariableConfigVo> {

    void removeByProcessId(String processId);

    List<StoneProcessVariableConfigVo> getProcessVariables(String processId);


    List<StoneProcessVariableConfigVo> getNodeVariables(String processId,String nodeId);

    Map<String,String> getVariableConfigs(String processId, String nodeId);
}
